import certifi
import requests

params = {
    'investorApi':'0'
}

cookies = {

}

headers = {
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0',
    'accept':'application/json',
}

"""
    使用requests.Session()可以模拟请求始终使用一个session访问
    verify=False 无论SSL证书是否有效，都继续房访问
"""
session = requests.Session()
res = session.post("https://api.bankwings.net/system/api/investor/v1/list",headers=headers,cookies=cookies,json=params,verify=certifi.where())
print(res.status_code)



